package cn.kgc.tangcco.bean05;

/**
 * @author 李昊哲
 * @Description
 * @create 2020/8/21 上午9:05
 */
public class PersonTest {
    public static void main(String[] args) {
        Person person = new Man();
        person.eat();
        new Person() {
            @Override
            public void eat() {
                System.out.println("我不是Man");
            }
        }.eat();
    }
}
